@layout("/common/_container.html"){
<style>
	.input-group{
		/*width:45%;*/
	}
	.row input[type=text],.form-control, .single-line{
	    width:35%;
        float:left;
    }
    .error{
        color:red;
        float:left;
        padding-top: 7px;
        padding-left: 10px;
    }
    .isShow label{
        padding-right:10px;
        padding-top:3px;
    }
	.input-group{
		width:60%;
		margin:0 auto;
	}
	.row input[type=text]{
	width:45%; 
    }
    .error{
        color:red;
    }
</style>
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">
            <input type="hidden" id="shopId" value="${item.shopId}">
			<input type="hidden" id="shopType" value="${shopType}">
            <div class="row">
                <#input id="shopName" name="店铺名称" value="${item.shopName}" underline="true"/>
              	<!-- <#input id="isSelf" name="是否自营" value="${item.isSelf}" underline="true"/> -->
               	<#input id="scoreRatio" name="积分赠送比例%(默认100%)" value="${item.scoreRatio}" underline="true"/>
               	<#input id="legalPerson" name="法人" value="${item.legalPerson}" underline="true"/>
                <#input id="IDnumber" name="法人身份证号" value="${item.IDnumber}" underline="true"/>
               	<#input id="linkman" name="联系人" value="${item.linkman}" underline="true"/>
               	<#input id="telephone" name="经营电话"  value="${item.telephone}" underline="true"/>
               	<#input id="areas" name="所属地区" value="${item.areas}" underline="true" disabled="true"/>
               	<#input id="address" name="店铺详细地址" value="${item.address}" underline="true"/>
               	<#input id="lng" name="经度" value="${item.lng}" underline="true"/>
                <#input id="lat" name="纬度" value="${item.lat}" underline="true"/>
               	<#input id="intro" name="促销语" value="${item.intro}" underline="true"/>
                <#input id="content" name="企业内容" value="${item.content}" underline="true"/>
                <#input id="businessQuota" name="商家每日营业额限度" value="${item.businessQuota}" underline="true"/>         
                <#input id="freight" name="默认运费" value="${item.freight}" underline="true"/>
                <#input id="companyName" name="公司名称" value="${item.companyName}" underline="true"/>
               <!--  <#input id="industry" name="所属行业" value="${item.industry}" /> -->
                <!--  <span>所属行业:</span>
             	<select id="hyName" class="data" name="${item.hyName}" size="1" >
               			
               </select> -->
                <input id="hyName" type="hidden" value="${item.hyName}"/>
                <#Select id="goods1"  name="所属行业" >
	                      <option id="goodscats1" value="-1">请选择</option>
  　　　　　              </#Select>
               </br>
               <div style="displa:flex;width:900px;height:50px;line-height:30px;margin:0 auto;">
				<span>审核详情</span>
		            <input type="radio" id="isSelf" name="isSelf" value='1'/>自营
		            <input type="radio" id="isNotSelf" name="isSelf" value='0'/>非自营
		        </div>
	           <div style="displa:flex;width:900px;height:50px;line-height:30px;margin:0 auto;">   	
	               	<span>联盟商家状态</span>
	               	<input type="radio" id="storeStatus" name="storeStatus" value="1"/>可用
	               	<input type="radio" id="storeNotStatus" name="storeStatus" value="0" />禁用
               </div>
               <div style="displa:flex;width:900px;height:50px;line-height:30px;margin:0 auto;">
               		<span>商城商家状态</span>
	               	<input type="radio" id="shopStatus" name="shopStatus" value="1"/>可用
	               	<input type="radio" id="shopNotStatus" name="shopStatus" value="0" />禁用
               	</div>
               <div style="displa:flex;width:900px;height:50px;line-height:30px;margin:0 auto;">	
	               	<span>企业类型</span>
	               	<input type="radio" id="companyType" name="companyType" value="1"/>个体户
	               	<input type="radio" id="NotcompanyType" name="companyType" value="0" />公司
              </div> 	
               <div style="displa:flex;width:900px;height:50px;line-height:30px;margin:0 auto;">
	               	<span>是否三证合一</span>
	               	<input type="radio" id="licenseMerge" name="licenseMerge" value="1"/>合并
	               	<input type="radio" id="NotlicenseMerge" name="licenseMerge" value="0" />未合并
				</div>
				<script>
               		let isSelf = ${item.isSelf} == '1'
              		$('#isSelf').attr('checked', isSelf), $('#isNotSelf').attr('checked',!isSelf);
              	</script>
              	<script>
               		let storeStatus = ${item.storeStatus} == '1'
              		$('#storeStatus').attr('checked', storeStatus), $('#storeNotStatus').attr('checked',!storeStatus);
              	</script>
              	<script>
               		let shopStatus = ${item.shopStatus} == '1'
              		$('#shopStatus').attr('checked', shopStatus), $('#shopNotStatus').attr('checked',!shopStatus);
              	</script>
               	<script>
               		let companyType = ${item.companyType} == '1'
              		$('#companyType').attr('checked', companyType), $('#NotcompanyType').attr('checked',!companyType);
              	</script>
               	<script>
               		let licenseMerge = ${item.licenseMerge} == '1'
              		$('#licenseMerge').attr('checked', licenseMerge), $('#NotlicenseMerge').attr('checked',!licenseMerge);
              	</script>
              	<div class='avatars'>
              		<#avatar id="legalPersonImg" name="法人手持身份证照片" avatarImg="${item.legalPersonImg}" /><div></div>
	                <#avatar id="licenseImg" name="营业执照" avatarImg="${item.licenseImg}" /><div></div>
	                <#avatar id="codeImg" name="组织机构代码证" avatarImg="${item.codeImg}" /><div></div>
	                <#avatar id="taxImg" name="税务登记证" avatarImg="${item.taxImg}" /><div></div>
	                <#avatar id="logo" name="店铺logo" avatarImg="${item.logo}" /><div></div>
	                <#avatar id="storeImg1" name="线下店铺展示图1" avatarImg="${item.storeImg1}" /><div></div>
	                <#avatar id="storeImg2" name="线下店铺展示图2" avatarImg="${item.storeImg2}" /><div></div>
	                <#avatar id="storeImg3" name="线下店铺展示图3" avatarImg="${item.storeImg3}" /><div></div>
	                <#avatar id="shopImg1" name="线上商城展示图1" avatarImg="${item.shopImg1}" /><div></div>
	                <#avatar id="shopImg2" name="线上商城展示图2" avatarImg="${item.shopImg2}" /><div></div>
	                <#avatar id="shopImg3" name="线上商城展示图3" avatarImg="${item.shopImg3}" /><div></div>
              	</div>
                
            </div>
            <div class="row btn-group-m-t">
                <div class="col-sm-10" style="text-align:center;">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="SktShopsInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="SktShopsInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/huamao/sktShops/sktShops_info.js"></script>
<script src="${ctxPath}/static/modular/huamao/sktShops/sktShops_info2.js"></script>
<script>
</script>	
@}
